#!/bin/bash

gfortran -o exerC exerC.f90

./exerC << end
9.80665
0.03
12
60
0.5
0.5
0.66666
end

mv exerC_out.dat exerC_f05.dat

./exerC << end
9.80665
0.03
12
60
0.5
1.2
0.66666
end

mv exerC_out.dat exerC_f12.dat

gnuplot plotC.gnu

rm -f exerC*.dat
